<?php if($this->uri->segment(3)=='edit') : ?>
    <?php echo form_hidden('nomor_induk',$_POST['nomor_induk']) ?>
<?php else: ?>
    <?php echo form_input(array('name'=>'nomor_induk','label'=>'Nomor Induk','size'=>'')) ?>
<?php endif ?>
<?php echo form_input(array('name'=>'nama_sekolah','label'=>'Nama Sekolah','size'=>'')) ?>
<?php echo form_dropdown('sekolah_status_id',$this->referensi->get_list_referensi('sekolah_status','id','sekolah_status'),null,null,array('label'=>'Status Sekolah'))?>
<?php echo form_dropdown('sekolah_akreditasi_id',$this->referensi->get_list_referensi('sekolah_akreditasi','id','sekolah_akreditasi'),null,null,array('label'=>'Akreditasi'))?>
<?php echo form_dropdown('sekolah_standard_id',$this->referensi->get_list_referensi('sekolah_standard','id','sekolah_standard'),null,null,array('label'=>'Standard Sekolah'))?>
<?php echo form_dropdown('sekolah_jenis_id',$this->referensi->get_list_referensi('sekolah_jenis','id','sekolah_jenis'),null,null,array('label'=>'Jenis Sekolah'))?>
<?php echo form_input(array('name'=>'alamat','label'=>'Alamat','size'=>'70')) ?>
<?php echo form_dropdown('kecamatan_id',$this->referensi->get_list_referensi('kecamatan','id','kecamatan'),null,null,array('label'=>'Kecamatan'))?>
<?php echo form_input(array('name'=>'kode_pos','label'=>'Kode Pos','size'=>'30','maxlength'=>'5')) ?>
<?php echo form_input(array('name'=>'telepon','label'=>'Telepon','size'=>'','maxlength'=>'15')) ?>
<?php echo form_input(array('name'=>'fax','label'=>'Fax','size'=>'','maxlength'=>'15')) ?>
<?php echo form_input(array('name'=>'email','label'=>'Email','size'=>'')) ?>
<?php echo form_input(array('name'=>'website','label'=>'Website','size'=>'')) ?>

